package com.test.exam.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.test.exam.dao.ExampleDao;
import com.test.exam.domain.Example;

@Service
public class ExampleService {
	@Autowired
	private ExampleDao exampleDao;
	
	public List<Example> getExamplesByQuestionIdx(int questionIdx){
		return exampleDao.getExamplesByQuestionIdx(questionIdx);
	}
}
